#pragma once
#include "core/log_entry.hpp" // For LogLevel
#include <string>

namespace axon_logger {
namespace utils {

    inline std::string levelToString(LogLevel level) {
        switch (level) {
            case LogLevel::Trace: return "TRACE";
            case LogLevel::Debug: return "DEBUG";
            case LogLevel::Info:  return "INFO";
            case LogLevel::Warn:  return "WARN";
            case LogLevel::Error: return "ERROR";
            case LogLevel::Critical: return "CRITICAL";
            case LogLevel::Off:   return "OFF";
            default: return "UNKNOWN";
        }
    }

} // namespace utils
} // namespace axon_logger
